<div class='app_top_navigate'>
  <div class='app_logo'></div>
  <div class='app_top_navigate_title'>
    <span [class]="(indexId == '1')? 'active_font' : ''" [routerLink]="['/']" routerLinkActive="router-link-active" (click)='articleType(1)'>首页</span>
    <span [class]="(indexId == '2')? 'active_font' : ''" [routerLink]="['/articles']" routerLinkActive="router-link-active" (click)='articleType(2)'>文章</span>
    <span [class]="(indexId == '3')? 'active_font' : ''" [routerLink]="['/myself']" routerLinkActive="router-link-active" (click)='articleType(3)'>我的</span>
  </div>
  <div>欢迎来到{{name}}的博客~</div>
</div>
<router-outlet></router-outlet>
